home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectPlay / Maze / readme.txt < prev   
Encoding:
Text File  |  2001-10-10  |  3.7 KB  |  89 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: Maze Sample
  4. // 
  5. // Copyright (c) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12.   This is a DirectPlay 8 client/server sample. The client comes in two flavors.  
  13.   A console based version, and a D3D client.  The D3D client can optionally 
  14.   be run as screen saver by simply copying mazeclient.exe to your 
  15.   \winnt\system32\ and renaming it to mazeclient.scr.  This will make 
  16.   it a screen saver that will be detected by the display control panel.  
  17.  
  18. Path
  19. ====
  20.   Source: DXSDK\Samples\Multimedia\DirectPlay\VoicePosition 
  21.  
  22.   Executable: DXSDK\Samples\Multimedia\DirectPlay\Bin
  23.  
  24. User's Guide
  25. ============
  26.   How to use MazeClient:
  27.     If you run "mazeclient.exe" then you'll be in "settings mode".  
  28.         A dialog box with various settings appears.
  29.         
  30.     If you run "mazeclient.exe /t" then you'll be in "Test mode" where 
  31.         you don't have to connect to a server, or you can search and join 
  32.         a server game. There are few simple commands you can type when running 
  33.         mazeclient in "test mode":
  34.           'a': Will turn auto-pilot on/off, but when moving about.
  35.                There's isn't colision detection code so you can go through walls.
  36.           'r': Will turn reflections on/off.
  37.                       
  38.     If you run "mazeclient.exe /s" then you'll be in "Screen Saver mode" on
  39.         auto-pilot.  This mode will auto-connect to a server, using the settings 
  40.         from "Setttings Mode".  If a server is not found, it will run without 
  41.         connecting to a server.  It will also exit upon mouse/keyboard input.
  42.  
  43.   How to use MazeConsoleClient:
  44.     Run it from the cmd line, and it will automatically search for a 
  45.     session on the local subnet.  If you specify a IP address at the cmd 
  46.     prompt, as in "MazeConsoleClient 255.255.255.255", it will search for 
  47.     a session at that IP address.  If a server is not found or the session 
  48.     is lost, then it will exit automatically.  Hit Crtl-C to close the 
  49.     session.
  50.  
  51.   How to use MazeServer:
  52.     Run it from the cmd line and it will automatically creates a host session 
  53.     that clients can join.  
  54.     
  55.     MazeServer.exe takes an optional command line parameter to set the size of the maze. 
  56.     For example:
  57.     
  58.         mazeserver.exe /size 16 128
  59.         
  60.     will set the maze to be 16 wide, and 128 high.  The width and height are restricted to 
  61.     these numbers: 16, 32, 64, or 128.  
  62.     
  63.     Once started, the server will display a simple command prompt to control the server.  
  64.     Here is the list of commands:
  65.  
  66.     "help"
  67.         A list of simple commands you can do.  
  68.     "stop"
  69.         Shutdown the server.
  70.     "stats"
  71.         How many players are connected.
  72.     "sr" or "serverreliable": 
  73.         Set what percent of the packets going from the server to the client have 
  74.         the DPNSEND_GUARANTEED flag.
  75.     "cr" or "clientreliable" 
  76.         Set what percent of the packets going from every client to the server 
  77.         have the DPNSEND_GUARANTEED flag.
  78.     "cu" or "clientupdate" 
  79.         Set how many milliseconds pass between updates from each client. 
  80.     "ct" or "clienttimeout" 
  81.         Sets the timeout value of packets sent by the clients
  82.     "st" or "servertimeout" 
  83.         Sets the timeout value of packets sent by the server
  84.     "ci" or "connectioninfo" 
  85.         Displays info about the connection from the server to a client.  Ex. "ci 00300003"                
  86.     "loglevel" 
  87.         Set how much extra info it spews about what is happening behind the scenes.  
  88.  
  89.